<script type="text/javascript">
    $(function(){
        KindEditor.ready(function (K) {
            K.create('#content', {
                resizeType: 1,
                afterBlur: function () {
                    this.sync();
                }
            });
            K.create('#summary', {
                resizeType : 1,
                afterBlur: function () {
                    this.sync();
                },
                allowPreviewEmoticons : false,
                allowImageUpload : false,
                items : [
                    'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
                    'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
                    'insertunorderedlist', '|', 'link']
            });
        });

        $(".goBack").click(function(){
            location.href="{:U('Product/index')}";
        });
    });
</script>